<table class="tablebg" cellspacing="1" width="100%">
<!-- BEGIN forumrow -->
	<!-- IF forumrow.S_IS_CAT -->
		<tr>
			<td class="cat2" colspan="4" align="center"><a href="{forumrow.U_VIEWFORUM}"><span class="forum-name">{forumrow.FORUM_NAME}</span></a><br /><span class="gensmall">{forumrow.FORUM_DESC}</span></td>
		</tr>
					<tr>
				<th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
				<th>&nbsp;{L_LAST_POST}&nbsp;</th>
				<th>&nbsp;{L_STATISTICS}&nbsp;</th>

			</tr>
	<!-- ELSEIF forumrow.S_IS_LINK -->
		<tr>
			<td class="row1" width="50" align="center"><!-- IF forumrow.FORUM_IMAGE -->{forumrow.FORUM_IMAGE}<!-- ELSE -->{forumrow.FORUM_FOLDER_IMG}<!-- ENDIF --></td>
			<td class="row1">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<!-- IF forumrow.CLICKS -->
				<td class="row2" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
			<!-- ELSE -->
				<td class="row1" colspan="3" align="center">&nbsp;</td>
			<!-- ENDIF -->
		</tr>
	<!-- ELSE -->
		<!-- IF forumrow.S_NO_CAT -->
			<tr>
				<td class="cat" colspan="4"><h4>{L_FORUM}</h4></td>
			</tr>
		<!-- ENDIF -->

		<tr>
			<td class="row2" width="50" align="center"><!-- IF forumrow.FORUM_IMAGE -->{forumrow.FORUM_IMAGE}<!-- ELSE -->{forumrow.FORUM_FOLDER_IMG}<!-- ENDIF --></td>
			<td class="row1" width="100%">
				<a href="{forumrow.U_VIEWFORUM}" class="forumlink"><!-- IF forumrow.S_FORUM_NAME_COLOUR --><span style="color:#{forumrow.FORUM_NAME_COLOUR};"><!-- ENDIF -->{forumrow.FORUM_NAME}<!-- IF forumrow.S_FORUM_NAME_COLOUR --></span><!-- ENDIF --></a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.MODERATORS -->
					<p class="gensmall"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
				<!-- ENDIF -->
               <!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
                  <!-- BEGIN subforum -->
                     <div style="width: 220px; margin: 2px; display: block; float: left;font: 8pt Tahoma;">
                     <!-- IF forumrow.subforum.S_UNREAD -->
                        <span class="bullet"><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum unread" title="{L_NEW_POSTS}">{forumrow.subforum.SUBFORUM_NAME}</a></span>
                     <!-- ELSE -->
                        <span class="bullet"><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum read" title="{L_NO_NEW_POSTS}">{forumrow.subforum.SUBFORUM_NAME}</a></span>
                     <!-- ENDIF -->
                     </div>
                     <!-- IF (forumrow.subforum.S_ROW_COUNT % 3) eq 2 --><div class="clear"></div><!-- ENDIF -->
                  <!-- END subforum -->
                  <!-- ENDIF -->

				</td>
				<td class="row2" align="center" width="200" nowrap="nowrap">
				<!-- IF forumrow.LAST_POST_TIME -->
				<p class="topicdetails"><a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}"><strong>{forumrow.LAST_POST_SHORTENED_SUBJECT}</strong></a></p>
				<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
					<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
						<!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
					</p>
				<!-- ELSE -->
					<p class="topicdetails">{L_NO_POSTS}</p>
				<!-- ENDIF -->
			</td>
				<td class="row1" align="center" nowrap="nowrap"><p class="topicdetails">{L_TOPICS}: {forumrow.TOPICS}<br />{L_POSTS}: {forumrow.POSTS}</p></td>

		</tr>
	<!-- ENDIF -->
<!-- BEGINELSE -->
	<tr>
		<td class="row1" colspan="4" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
	</tr>
<!-- END forumrow -->
</table>